package com.zzh.jn_erp.manufacturermanagerweb.service.impl;

import com.github.pagehelper.Page;
import com.zzh.jn_erp.manufacturermanagerweb.dao.ManufacturerDao;
import com.zzh.jn_erp.manufacturermanagerweb.entity.Manufacturer;
import com.zzh.jn_erp.manufacturermanagerweb.service.ManufacturerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author zhouzh
 * @date 2021/3/20 16:54
 * @description
 */
@Service
public class ManufacturerServiceImpl implements ManufacturerService {

    @Autowired
    private ManufacturerDao manufacturerDao;

    /**
     * 查询供应商列表
     * @param manufacturer 入参
     * @return Page<Manufacturer>
     */
    @Override
    public Page<Manufacturer> dataList(Manufacturer manufacturer) {
        return manufacturerDao.dataList(manufacturer);
    }
}
